package com.qq.weixin.model.user;

import java.util.List;

import com.qq.weixin.model.BaseResult;

public class OpenidBatchInfo extends BaseResult {

	private Integer total;
	private Integer count;
	private String nextOpenid;

	static class OpenIdBatch {
		private List<String> openid;

		public List<String> getOpenid() {
			return openid;
		}

		public void setOpenid(List<String> openid) {
			this.openid = openid;
		}

	}

	public List<String> getOpenidList() {
		if (data == null) {
			return null;
		}
		return data.getOpenid();
	}

	private OpenIdBatch data;

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getNextOpenid() {
		return nextOpenid;
	}

	public void setNextOpenid(String nextOpenid) {
		this.nextOpenid = nextOpenid;
	}

	public OpenIdBatch getData() {
		return data;
	}

	public void setData(OpenIdBatch data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "UserBatchInfo [total=" + total + ", count=" + count
				+ ", nextOpenid=" + nextOpenid + ", data=" + data
				+ ", resultInfo=" + resultInfo + "]";
	}

}
